//
// Created by tang on 23-4-1.
//

#ifndef PIINFO_UI_REGISTRY_HPP
#define PIINFO_UI_REGISTRY_HPP

#include <unordered_map>

class ui_item;

using pfn_ui_creator = ui_item* (*)(ui_item*);

const std::unordered_map<std::string, pfn_ui_creator> *get_ui_factories();

#endif  // PIINFO_UI_REGISTRY_HPP
